#!/usr/bin/env node

const Num=require('./07-share'),
      log=console.log;

var n1=new Num();
var n2=new Num();

n1.add();
n1.add();

//都是一个count
log('n1:', n1.getCount());//2
log('n2:', n2.getCount());//0——》2

n2.add();

log('n1:', n1.getCount());//2——》3
log('n2:', n2.getCount());//1——》3
